package com.yyt.websocketdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: yeyangtao
 * @date: 2020/4/9 10:35
 */
@RequestMapping("hello")
@Controller
public class Hello {
    @GetMapping("say")
    public String word(){
        System.out.println("666");
        return "chat.html";
    }
}
